cog_vars <- c("NAR_Overall_Accuracy","NAR_Overall_Efficiency","NAR_F1_Social_Cognition_Efficiency","mpraxis_mp2rtcr")

for (brain_var in c("Accumbens_Area","Putamen","Caudate")) {
  cat(brain_var)
  thisTab <- mpdf
  
for (beh_var in cog_vars) {
  cat(beh_var)

  mplusTable <- thisTab %>% 
    filter(bblid %in% rmBBLIDs$bblid) %>%
    select_("bblid","visitnum","age",beh_var,brain_var,"sex","sequence","timepoint")%>%
    arrange(bblid)

  widetab <- mplusTable %>%  pivot_wider(names_from = visitnum, id_cols = c(bblid,sex), values_from = c(age,brain_var,beh_var,sequence, timepoint))# %>%
  #  rowwise() %>%
  #  mutate(Psychosis = mean(c(Psychosis_1,Psychosis_2,Psychosis_2),na.rm=T),Accumbens_Area = mean(c(Accumbens_Area_1,Accumbens_Area_2,Accumbens_Area_3),na.rm=T))
    
  tab1 <- widetab %>%
    select(bblid,sex,contains("_1"),contains("_2"))
  names(tab1) <- gsub(colnames(tab1),pattern = "_1",replacement = "_Past")
  names(tab1) <- gsub(colnames(tab1),pattern = "_2",replacement = "_Cur")
  
  tab2 <- widetab %>%
    filter(!is.na(age_3)) %>%
    select(bblid,sex,contains("_2"),contains("_3"))
  names(tab2) <- gsub(colnames(tab2),pattern = "_2",replacement = "_Past")
  names(tab2) <- gsub(colnames(tab2),pattern = "_3",replacement = "_Cur")
  
  mptab <- rbind(tab1,tab2) %>%
    mutate(Elapsed = age_Cur - age_Past)
  
  #prepareMplusData(mptab,"./test_mplus_input.dat",inpfile = F,writeData = "always",overwrite = T)
  #runModels(showOutput = T)
  #write.csv(mptab,"~/mplus_vars.csv",row.names = F)
  
  deltaTable <- mptab %>%
    ungroup() %>%
    mutate(Beh_delta = get(paste0(beh_var,"_Cur")) - get(paste0(beh_var,"_Past")))%>%
    filter(Beh_delta != 111110) %>%
    mutate(Beh_res=residuals(lmer(as.formula(sprintf('%s_Cur ~ %s_Past+ (1|bblid)',beh_var,beh_var)), data = .),type = "pearson"),
           Beh_delta_res = residuals(lmer(as.formula(sprintf('Beh_delta ~ %s_Past + (1|bblid)',beh_var)),data = .),type = "pearson"),
           Brain_delta = get(paste0(brain_var,"_Cur")) - get(paste0(brain_var,"_Past")),
           Brain_res=residuals(lmer(as.formula(sprintf('%s_Cur ~ %s_Past+ (1|bblid)',brain_var,brain_var)), data = .),type = "pearson"),
           Brain_delta_res = residuals(lmer(as.formula(sprintf('Brain_delta ~ %s_Past + (1|bblid)',brain_var)),data = .),type = "pearson")
           )%>%
    filter(Brain_res<50 & Brain_res>-50) %>%
    filter(Beh_res<5000000)
  cat('\n\n',brain_var,beh_var,'\n')
  # print(summary(lmer(Beh_res ~ Brain_res*Elapsed*age_Past + sequence_Past + sequence_Cur + sex+(1|bblid),data = deltaTable)))
  # print(plot_model(lmer(Beh_res ~ Brain_res*Elapsed*age_Past + sex+(1|bblid),data = deltaTable),type = 'int',show.p = T))
  #
  print(summary(lmer(Beh_res ~ Brain_res*Elapsed + age_Past + sex + sequence_Past + sequence_Cur+(1|bblid),data = deltaTable)))
  # print(plot_model(lm(Beh_res ~ Brain_res*Elapsed + age_Past + sex + sequence_Past + sequence_Cur,data = deltaTable),type = 'int',show.values = T,show.p = T,
                   # axis.title = c(sprintf('%s (res change)',brain_var),sprintf('%s (res change)',beh_var))))

  print(summary(lmer(Beh_res ~ Brain_res*age_Past + sex + sequence_Past + timepoint_Cur + sequence_Cur+(1|bblid),data = deltaTable)))
  # print(plot_model(lm(Beh_res ~ Brain_res*age_Past + sex + sequence_Past + sequence_Cur,data = deltaTable),type = 'int',show.values = T,show.p = T,
                   # axis.title = c(sprintf('%s (res change)',brain_var),sprintf('%s (res change)',beh_var))))

  l <- lmer(Beh_res ~ Brain_res + Elapsed + age_Past + sex +(1|bblid),data = deltaTable)
  print(summary(l))
  # c< -coef(l)
  # a<-c["(Intercept)"]
  # b <- c["Brain_res"]
  # ggplot(data = deltaTable, aes(x = Brain_res, y = Beh_res)) + geom_abline(intercept = a, slope  =b) + geom_point()
  print(plot_model(l,type = "pred",terms = "Brain_res",show.data = T,axis.title = c(sprintf('%s (res change)',brain_var),sprintf('%s (res change)',beh_var))))

  l <- lmer(Beh_res ~ Brain_res+(1|bblid),data = deltaTable)
  print(summary(l))
  print(plot_model(l,type = "pred",terms = "Brain_res",show.data = T,axis.title = c(sprintf('%s (res change)',brain_var),sprintf('%s (res change)',beh_var))))

  l <- lmer(Beh_delta ~ Brain_delta+(1|bblid),data = deltaTable)
  print(summary(l))
  print(plot_model(l,type = "pred",terms = "Brain_delta",show.data = T,axis.title = c(sprintf('%s (delta)',brain_var),sprintf('%s (delta)',beh_var))))
}
   
}
## Accumbens_AreaNAR_Overall_Accuracy
## Warning: select_() is deprecated. 
## Please use select() instead
## 
## The 'programming' vignette or the tidyeval book can help you
## to program with select() : https://tidyeval.tidyverse.org
## This warning is displayed once per session.
## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`

## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## 
## 
##  Accumbens_Area NAR_Overall_Accuracy
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res * Elapsed + age_Past + sex + sequence_Past +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 349.6
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -3.3826 -0.6185  0.0016  0.6461  2.9347 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.0000  
##  Residual             0.1857   0.4309  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                        Estimate Std. Error         df
## (Intercept)                            0.077473   0.278746 264.000000
## Brain_res                             -0.065823   0.024152 264.000000
## Elapsed                                0.036526   0.035468 264.000000
## age_Past                               0.001538   0.008615 264.000000
## sexfemale                             -0.098409   0.052913 264.000000
## sequence_PastB0map_onesizefitsall_v3  -0.162150   0.205956 264.000000
## sequence_PastB0map_v4                 -0.745769   0.330298 264.000000
## sequence_CurB0map_v4                   0.009261   0.077505 264.000000
## Brain_res:Elapsed                      0.031773   0.008876 264.000000
##                                      t value Pr(>|t|)    
## (Intercept)                            0.278 0.781280    
## Brain_res                             -2.725 0.006853 ** 
## Elapsed                                1.030 0.304033    
## age_Past                               0.178 0.858468    
## sexfemale                             -1.860 0.064020 .  
## sequence_PastB0map_onesizefitsall_v3  -0.787 0.431810    
## sequence_PastB0map_v4                 -2.258 0.024771 *  
## sequence_CurB0map_v4                   0.119 0.904974    
## Brain_res:Elapsed                      3.580 0.000409 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs Elapsd ag_Pst sexfml s_PB0__ s_PB0_4 s_CB0_
## Brain_res   -0.069                                                   
## Elapsed     -0.431  0.371                                            
## age_Past    -0.573 -0.135  0.038                                     
## sexfemale   -0.038  0.043  0.044 -0.098                              
## sqnc_PB0__3 -0.854  0.112  0.260  0.159 -0.035                       
## sqnc_PsB0_4 -0.524  0.132  0.283  0.026 -0.024  0.625                
## sqnc_CrB0_4  0.274 -0.295 -0.530 -0.278 -0.029 -0.132  -0.223        
## Brn_rs:Elps  0.112 -0.895 -0.435  0.199 -0.067 -0.164  -0.146   0.127
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: 
## Beh_res ~ Brain_res * age_Past + sex + sequence_Past + timepoint_Cur +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 368.9
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -3.1831 -0.6242  0.0224  0.6415  2.7421 
## 
## Random effects:
##  Groups   Name        Variance  Std.Dev. 
##  bblid    (Intercept) 1.089e-16 1.044e-08
##  Residual             1.990e-01 4.461e-01
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                        Estimate Std. Error         df
## (Intercept)                            0.134775   0.287823 264.000000
## Brain_res                              0.034464   0.038614 264.000000
## age_Past                              -0.005094   0.008892 264.000000
## sexfemale                             -0.087728   0.054724 264.000000
## sequence_PastB0map_onesizefitsall_v3  -0.099090   0.210751 264.000000
## sequence_PastB0map_v4                 -0.723733   0.333079 264.000000
## timepoint_Cur.L                       -0.086264   0.074535 264.000000
## sequence_CurB0map_v4                   0.182679   0.104287 264.000000
## Brain_res:age_Past                    -0.001576   0.002496 264.000000
##                                      t value Pr(>|t|)  
## (Intercept)                            0.468   0.6400  
## Brain_res                              0.893   0.3729  
## age_Past                              -0.573   0.5672  
## sexfemale                             -1.603   0.1101  
## sequence_PastB0map_onesizefitsall_v3  -0.470   0.6386  
## sequence_PastB0map_v4                 -2.173   0.0307 *
## timepoint_Cur.L                       -1.157   0.2482  
## sequence_CurB0map_v4                   1.752   0.0810 .
## Brain_res:age_Past                    -0.631   0.5283  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs ag_Pst sexfml s_PB0__ s_PB0_4 tm_C.L s_CB0_
## Brain_res   -0.045                                                   
## age_Past    -0.636  0.115                                            
## sexfemale   -0.033 -0.056 -0.086                                     
## sqnc_PB0__3 -0.850  0.067  0.216 -0.049                              
## sqnc_PsB0_4 -0.493  0.029  0.061 -0.035  0.609                       
## timpnt_Cr.L  0.410  0.187 -0.190 -0.037 -0.180  -0.167               
## sqnc_CrB0_4 -0.284 -0.248 -0.034  0.019  0.135   0.067  -0.763       
## Brn_rs:g_Ps  0.079 -0.957 -0.097  0.046 -0.099  -0.033  -0.157  0.130
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + Elapsed + age_Past + sex + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 353.8
## 
## Scaled residuals: 
##      Min       1Q   Median       3Q      Max 
## -3.09961 -0.64379  0.03825  0.69348  2.64405 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.0000  
##  Residual             0.1951   0.4418  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##               Estimate Std. Error         df t value Pr(>|t|)    
## (Intercept)  -0.041338   0.140022 268.000000  -0.295 0.768051    
## Brain_res     0.009509   0.009964 268.000000   0.954 0.340791    
## Elapsed       0.091218   0.027211 268.000000   3.352 0.000917 ***
## age_Past     -0.007631   0.008016 268.000000  -0.952 0.341962    
## sexfemale    -0.088003   0.054040 268.000000  -1.628 0.104596    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##           (Intr) Brn_rs Elapsd ag_Pst
## Brain_res  0.169                     
## Elapsed   -0.399 -0.325              
## age_Past  -0.849 -0.013 -0.055       
## sexfemale -0.135 -0.060  0.017 -0.094
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 351.2
## 
## Scaled residuals: 
##      Min       1Q   Median       3Q      Max 
## -3.08888 -0.60805  0.04626  0.62669  3.05182 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.0000  
##  Residual             0.2037   0.4514  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##               Estimate Std. Error         df t value Pr(>|t|)  
## (Intercept) -2.783e-16  2.732e-02  2.710e+02    0.00   1.0000  
## Brain_res    1.911e-02  9.605e-03  2.710e+02    1.99   0.0476 *
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##           (Intr)
## Brain_res 0.000 
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_delta ~ Brain_delta + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 441.4
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -2.7597 -0.6647 -0.0172  0.5859  3.2036 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.000   
##  Residual             0.2841   0.533   
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##              Estimate Std. Error        df t value Pr(>|t|)    
## (Intercept)   0.33283    0.03625 271.00000   9.182   <2e-16 ***
## Brain_delta   0.01896    0.01094 271.00000   1.733   0.0842 .  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr)
## Brain_delta -0.456
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## NAR_Overall_Efficiency
## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`

## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## 
## 
##  Accumbens_Area NAR_Overall_Efficiency
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res * Elapsed + age_Past + sex + sequence_Past +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 133.2
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -4.1138 -0.5180 -0.0061  0.6836  4.1782 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.00000  0.000   
##  Residual             0.08181  0.286   
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                        Estimate Std. Error         df
## (Intercept)                           -0.073480   0.185025 264.000000
## Brain_res                             -0.002120   0.016031 264.000000
## Elapsed                                0.014775   0.023543 264.000000
## age_Past                              -0.013193   0.005718 264.000000
## sexfemale                              0.059288   0.035122 264.000000
## sequence_PastB0map_onesizefitsall_v3   0.219969   0.136708 264.000000
## sequence_PastB0map_v4                  0.087455   0.219244 264.000000
## sequence_CurB0map_v4                  -0.023047   0.051446 264.000000
## Brain_res:Elapsed                      0.008186   0.005892 264.000000
##                                      t value Pr(>|t|)  
## (Intercept)                           -0.397   0.6916  
## Brain_res                             -0.132   0.8949  
## Elapsed                                0.628   0.5308  
## age_Past                              -2.307   0.0218 *
## sexfemale                              1.688   0.0926 .
## sequence_PastB0map_onesizefitsall_v3   1.609   0.1088  
## sequence_PastB0map_v4                  0.399   0.6903  
## sequence_CurB0map_v4                  -0.448   0.6545  
## Brain_res:Elapsed                      1.389   0.1659  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs Elapsd ag_Pst sexfml s_PB0__ s_PB0_4 s_CB0_
## Brain_res   -0.069                                                   
## Elapsed     -0.431  0.371                                            
## age_Past    -0.573 -0.135  0.038                                     
## sexfemale   -0.038  0.043  0.044 -0.098                              
## sqnc_PB0__3 -0.854  0.112  0.260  0.159 -0.035                       
## sqnc_PsB0_4 -0.524  0.132  0.283  0.026 -0.024  0.625                
## sqnc_CrB0_4  0.274 -0.295 -0.530 -0.278 -0.029 -0.132  -0.223        
## Brn_rs:Elps  0.112 -0.895 -0.435  0.199 -0.067 -0.164  -0.146   0.127
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: 
## Beh_res ~ Brain_res * age_Past + sex + sequence_Past + timepoint_Cur +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 137.5
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -4.0190 -0.5351 -0.0528  0.6899  4.5174 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.00000  0.0000  
##  Residual             0.08282  0.2878  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                        Estimate Std. Error         df
## (Intercept)                           -0.011055   0.185696 264.000000
## Brain_res                              0.035370   0.024913 264.000000
## age_Past                              -0.015362   0.005737 264.000000
## sexfemale                              0.060672   0.035307 264.000000
## sequence_PastB0map_onesizefitsall_v3   0.223491   0.135972 264.000000
## sequence_PastB0map_v4                  0.066584   0.214894 264.000000
## timepoint_Cur.L                        0.002048   0.048088 264.000000
## sequence_CurB0map_v4                   0.002313   0.067283 264.000000
## Brain_res:age_Past                    -0.001160   0.001611 264.000000
##                                      t value Pr(>|t|)   
## (Intercept)                           -0.060  0.95257   
## Brain_res                              1.420  0.15687   
## age_Past                              -2.678  0.00787 **
## sexfemale                              1.718  0.08689 . 
## sequence_PastB0map_onesizefitsall_v3   1.644  0.10144   
## sequence_PastB0map_v4                  0.310  0.75692   
## timepoint_Cur.L                        0.043  0.96606   
## sequence_CurB0map_v4                   0.034  0.97260   
## Brain_res:age_Past                    -0.720  0.47192   
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs ag_Pst sexfml s_PB0__ s_PB0_4 tm_C.L s_CB0_
## Brain_res   -0.045                                                   
## age_Past    -0.636  0.115                                            
## sexfemale   -0.033 -0.056 -0.086                                     
## sqnc_PB0__3 -0.850  0.067  0.216 -0.049                              
## sqnc_PsB0_4 -0.493  0.029  0.061 -0.035  0.609                       
## timpnt_Cr.L  0.410  0.187 -0.190 -0.037 -0.180  -0.167               
## sqnc_CrB0_4 -0.284 -0.248 -0.034  0.019  0.135   0.067  -0.763       
## Brn_rs:g_Ps  0.079 -0.957 -0.097  0.046 -0.099  -0.033  -0.157  0.130
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + Elapsed + age_Past + sex + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 122.9
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -3.9840 -0.5339 -0.0246  0.6913  4.3868 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.00000  0.0000  
##  Residual             0.08247  0.2872  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##               Estimate Std. Error         df t value Pr(>|t|)    
## (Intercept)   0.208254   0.091025 268.000000   2.288 0.022923 *  
## Brain_res     0.017557   0.006477 268.000000   2.711 0.007150 ** 
## Elapsed       0.017015   0.017689 268.000000   0.962 0.336990    
## age_Past     -0.018113   0.005211 268.000000  -3.476 0.000593 ***
## sexfemale     0.064948   0.035130 268.000000   1.849 0.065589 .  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##           (Intr) Brn_rs Elapsd ag_Pst
## Brain_res  0.169                     
## Elapsed   -0.399 -0.325              
## age_Past  -0.849 -0.013 -0.055       
## sexfemale -0.135 -0.060  0.017 -0.094
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 117.9
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -3.7479 -0.5767 -0.0038  0.6732  4.9017 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.00000  0.0000  
##  Residual             0.08612  0.2935  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##              Estimate Std. Error        df t value Pr(>|t|)   
## (Intercept) 1.305e-17  1.776e-02 2.710e+02   0.000  1.00000   
## Brain_res   1.947e-02  6.245e-03 2.710e+02   3.118  0.00202 **
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##           (Intr)
## Brain_res 0.000 
## convergence code: 0
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_delta ~ Brain_delta + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 433.8
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -1.8154 -0.6428 -0.1290  0.5522  4.9309 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.02455  0.1567  
##  Residual             0.25194  0.5019  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##              Estimate Std. Error        df t value Pr(>|t|)    
## (Intercept)   0.36003    0.03599 172.28230  10.004  < 2e-16 ***
## Brain_delta   0.02866    0.01074 200.80956   2.669  0.00823 ** 
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr)
## Brain_delta -0.450
## NAR_F1_Social_Cognition_Efficiency
## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`

## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## 
## 
##  Accumbens_Area NAR_F1_Social_Cognition_Efficiency
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res * Elapsed + age_Past + sex + sequence_Past +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 421.7
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -4.0786 -0.5683  0.0722  0.6526  2.7323 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.000    0.000   
##  Residual             0.244    0.494   
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                        Estimate Std. Error         df
## (Intercept)                           -0.118020   0.319561 264.000000
## Brain_res                             -0.004623   0.027688 264.000000
## Elapsed                                0.039430   0.040661 264.000000
## age_Past                              -0.009159   0.009876 264.000000
## sexfemale                              0.125491   0.060660 264.000000
## sequence_PastB0map_onesizefitsall_v3   0.078586   0.236113 264.000000
## sequence_PastB0map_v4                 -0.037977   0.378662 264.000000
## sequence_CurB0map_v4                   0.034454   0.088853 264.000000
## Brain_res:Elapsed                      0.013156   0.010175 264.000000
##                                      t value Pr(>|t|)  
## (Intercept)                           -0.369   0.7122  
## Brain_res                             -0.167   0.8675  
## Elapsed                                0.970   0.3331  
## age_Past                              -0.927   0.3546  
## sexfemale                              2.069   0.0395 *
## sequence_PastB0map_onesizefitsall_v3   0.333   0.7395  
## sequence_PastB0map_v4                 -0.100   0.9202  
## sequence_CurB0map_v4                   0.388   0.6985  
## Brain_res:Elapsed                      1.293   0.1972  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs Elapsd ag_Pst sexfml s_PB0__ s_PB0_4 s_CB0_
## Brain_res   -0.069                                                   
## Elapsed     -0.431  0.371                                            
## age_Past    -0.573 -0.135  0.038                                     
## sexfemale   -0.038  0.043  0.044 -0.098                              
## sqnc_PB0__3 -0.854  0.112  0.260  0.159 -0.035                       
## sqnc_PsB0_4 -0.524  0.132  0.283  0.026 -0.024  0.625                
## sqnc_CrB0_4  0.274 -0.295 -0.530 -0.278 -0.029 -0.132  -0.223        
## Brn_rs:Elps  0.112 -0.895 -0.435  0.199 -0.067 -0.164  -0.146   0.127
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: 
## Beh_res ~ Brain_res * age_Past + sex + sequence_Past + timepoint_Cur +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 425.8
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -3.8895 -0.5670 -0.0062  0.6485  2.6999 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.0000  
##  Residual             0.2469   0.4969  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                        Estimate Std. Error         df
## (Intercept)                            0.031478   0.320607 264.000000
## Brain_res                              0.078167   0.043013 264.000000
## age_Past                              -0.012778   0.009904 264.000000
## sexfemale                              0.125702   0.060958 264.000000
## sequence_PastB0map_onesizefitsall_v3   0.073977   0.234757 264.000000
## sequence_PastB0map_v4                 -0.106686   0.371017 264.000000
## timepoint_Cur.L                        0.013182   0.083025 264.000000
## sequence_CurB0map_v4                   0.084090   0.116166 264.000000
## Brain_res:age_Past                    -0.003367   0.002781 264.000000
##                                      t value Pr(>|t|)  
## (Intercept)                            0.098   0.9219  
## Brain_res                              1.817   0.0703 .
## age_Past                              -1.290   0.1981  
## sexfemale                              2.062   0.0402 *
## sequence_PastB0map_onesizefitsall_v3   0.315   0.7529  
## sequence_PastB0map_v4                 -0.288   0.7739  
## timepoint_Cur.L                        0.159   0.8740  
## sequence_CurB0map_v4                   0.724   0.4698  
## Brain_res:age_Past                    -1.211   0.2270  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs ag_Pst sexfml s_PB0__ s_PB0_4 tm_C.L s_CB0_
## Brain_res   -0.045                                                   
## age_Past    -0.636  0.115                                            
## sexfemale   -0.033 -0.056 -0.086                                     
## sqnc_PB0__3 -0.850  0.067  0.216 -0.049                              
## sqnc_PsB0_4 -0.493  0.029  0.061 -0.035  0.609                       
## timpnt_Cr.L  0.410  0.187 -0.190 -0.037 -0.180  -0.167               
## sqnc_CrB0_4 -0.284 -0.248 -0.034  0.019  0.135   0.067  -0.763       
## Brn_rs:g_Ps  0.079 -0.957 -0.097  0.046 -0.099  -0.033  -0.157  0.130
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + Elapsed + age_Past + sex + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 411.8
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -4.1071 -0.5482  0.0547  0.6275  2.8111 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.0000  
##  Residual             0.2423   0.4923  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##               Estimate Std. Error         df t value Pr(>|t|)   
## (Intercept)  -0.026789   0.156034 268.000000  -0.172  0.86381   
## Brain_res     0.029448   0.011103 268.000000   2.652  0.00847 **
## Elapsed       0.064005   0.030323 268.000000   2.111  0.03572 * 
## age_Past     -0.012296   0.008932 268.000000  -1.377  0.16979   
## sexfemale     0.132614   0.060220 268.000000   2.202  0.02850 * 
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##           (Intr) Brn_rs Elapsd ag_Pst
## Brain_res  0.169                     
## Elapsed   -0.399 -0.325              
## age_Past  -0.849 -0.013 -0.055       
## sexfemale -0.135 -0.060  0.017 -0.094
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 405.4
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -3.8546 -0.5122 -0.0168  0.6426  3.1310 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.0000  
##  Residual             0.2488   0.4988  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##               Estimate Std. Error         df t value Pr(>|t|)    
## (Intercept) -9.088e-16  3.019e-02  2.710e+02   0.000 1.000000    
## Brain_res    3.796e-02  1.061e-02  2.710e+02   3.576 0.000413 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##           (Intr)
## Brain_res 0.000 
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_delta ~ Brain_delta + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 513.3
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -2.9362 -0.5435 -0.1172  0.6224  3.7896 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.0000  
##  Residual             0.3704   0.6086  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##              Estimate Std. Error        df t value Pr(>|t|)    
## (Intercept)   0.42145    0.04139 271.00000  10.182   <2e-16 ***
## Brain_delta   0.03812    0.01249 271.00000   3.052   0.0025 ** 
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr)
## Brain_delta -0.456
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## mpraxis_mp2rtcr
## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`

## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## 
## 
##  Accumbens_Area mpraxis_mp2rtcr
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res * Elapsed + age_Past + sex + sequence_Past +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 3265.8
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -2.5602 -0.6280 -0.1202  0.4305  4.6808 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept)     0      0.0   
##  Residual             11644    107.9   
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                      Estimate Std. Error      df t value
## (Intercept)                            29.883     69.804 264.000   0.428
## Brain_res                              11.201      6.048 264.000   1.852
## Elapsed                                13.518      8.882 264.000   1.522
## age_Past                               -1.433      2.157 264.000  -0.664
## sexfemale                              22.153     13.250 264.000   1.672
## sequence_PastB0map_onesizefitsall_v3  -42.880     51.576 264.000  -0.831
## sequence_PastB0map_v4                 -18.849     82.714 264.000  -0.228
## sequence_CurB0map_v4                   -7.361     19.409 264.000  -0.379
## Brain_res:Elapsed                      -5.941      2.223 264.000  -2.673
##                                      Pr(>|t|)   
## (Intercept)                           0.66893   
## Brain_res                             0.06516 . 
## Elapsed                               0.12922   
## age_Past                              0.50723   
## sexfemale                             0.09574 . 
## sequence_PastB0map_onesizefitsall_v3  0.40650   
## sequence_PastB0map_v4                 0.81991   
## sequence_CurB0map_v4                  0.70478   
## Brain_res:Elapsed                     0.00799 **
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs Elapsd ag_Pst sexfml s_PB0__ s_PB0_4 s_CB0_
## Brain_res   -0.069                                                   
## Elapsed     -0.431  0.371                                            
## age_Past    -0.573 -0.135  0.038                                     
## sexfemale   -0.038  0.043  0.044 -0.098                              
## sqnc_PB0__3 -0.854  0.112  0.260  0.159 -0.035                       
## sqnc_PsB0_4 -0.524  0.132  0.283  0.026 -0.024  0.625                
## sqnc_CrB0_4  0.274 -0.295 -0.530 -0.278 -0.029 -0.132  -0.223        
## Brn_rs:Elps  0.112 -0.895 -0.435  0.199 -0.067 -0.164  -0.146   0.127
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: 
## Beh_res ~ Brain_res * age_Past + sex + sequence_Past + timepoint_Cur +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 3261.4
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -2.4680 -0.6305 -0.1288  0.4111  4.7049 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept)     0      0.0   
##  Residual             11409    106.8   
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                      Estimate Std. Error       df t value
## (Intercept)                           27.5465    68.9216 264.0000   0.400
## Brain_res                            -31.4630     9.2465 264.0000  -3.403
## age_Past                              -0.2665     2.1292 264.0000  -0.125
## sexfemale                             22.2514    13.1042 264.0000   1.698
## sequence_PastB0map_onesizefitsall_v3 -67.6549    50.4661 264.0000  -1.341
## sequence_PastB0map_v4                -42.8666    79.7583 264.0000  -0.537
## timepoint_Cur.L                      -39.9740    17.8481 264.0000  -2.240
## sequence_CurB0map_v4                  46.6936    24.9723 264.0000   1.870
## Brain_res:age_Past                     1.8667     0.5978 264.0000   3.123
##                                      Pr(>|t|)    
## (Intercept)                          0.689716    
## Brain_res                            0.000771 ***
## age_Past                             0.900480    
## sexfemale                            0.090679 .  
## sequence_PastB0map_onesizefitsall_v3 0.181202    
## sequence_PastB0map_v4                0.591405    
## timepoint_Cur.L                      0.025944 *  
## sequence_CurB0map_v4                 0.062616 .  
## Brain_res:age_Past                   0.001991 ** 
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs ag_Pst sexfml s_PB0__ s_PB0_4 tm_C.L s_CB0_
## Brain_res   -0.045                                                   
## age_Past    -0.636  0.115                                            
## sexfemale   -0.033 -0.056 -0.086                                     
## sqnc_PB0__3 -0.850  0.067  0.216 -0.049                              
## sqnc_PsB0_4 -0.493  0.029  0.061 -0.035  0.609                       
## timpnt_Cr.L  0.410  0.187 -0.190 -0.037 -0.180  -0.167               
## sqnc_CrB0_4 -0.284 -0.248 -0.034  0.019  0.135   0.067  -0.763       
## Brn_rs:g_Ps  0.079 -0.957 -0.097  0.046 -0.099  -0.033  -0.157  0.130
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + Elapsed + age_Past + sex + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 3305.6
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -2.6716 -0.6130 -0.1156  0.4385  4.7569 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept)     0      0.0   
##  Residual             11855    108.9   
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##             Estimate Std. Error      df t value Pr(>|t|)
## (Intercept)  -23.617     34.512 268.000  -0.684    0.494
## Brain_res     -3.757      2.456 268.000  -1.530    0.127
## Elapsed        4.524      6.707 268.000   0.675    0.501
## age_Past       0.189      1.976 268.000   0.096    0.924
## sexfemale     18.930     13.320 268.000   1.421    0.156
## 
## Correlation of Fixed Effects:
##           (Intr) Brn_rs Elapsd ag_Pst
## Brain_res  0.169                     
## Elapsed   -0.399 -0.325              
## age_Past  -0.849 -0.013 -0.055       
## sexfemale -0.135 -0.060  0.017 -0.094
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 3324
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -2.7586 -0.6560 -0.1183  0.4495  4.9107 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept)     0      0.0   
##  Residual             11834    108.8   
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##               Estimate Std. Error         df t value Pr(>|t|)
## (Intercept)  3.442e-14  6.584e+00  2.710e+02   0.000    1.000
## Brain_res   -3.006e+00  2.315e+00  2.710e+02  -1.298    0.195
## 
## Correlation of Fixed Effects:
##           (Intr)
## Brain_res 0.000 
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_delta ~ Brain_delta + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 3401.8
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -3.9433 -0.4789  0.0036  0.4924  3.4894 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept)     0      0.0   
##  Residual             15762    125.5   
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##             Estimate Std. Error      df t value Pr(>|t|)  
## (Intercept)   -2.772      8.539 271.000  -0.325   0.7457  
## Brain_delta   -4.378      2.577 271.000  -1.699   0.0905 .
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr)
## Brain_delta -0.456
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## PutamenNAR_Overall_Accuracy
## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`

## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## 
## 
##  Putamen NAR_Overall_Accuracy
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res * Elapsed + age_Past + sex + sequence_Past +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 358.4
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -3.1763 -0.6270 -0.0024  0.6533  2.7758 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.0000  
##  Residual             0.1942   0.4406  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                        Estimate Std. Error         df
## (Intercept)                           -0.083707   0.289779 264.000000
## Brain_res                             -0.067095   0.054954 264.000000
## Elapsed                                0.080517   0.034985 264.000000
## age_Past                              -0.002228   0.009065 264.000000
## sexfemale                             -0.080426   0.054015 264.000000
## sequence_PastB0map_onesizefitsall_v3  -0.028701   0.207911 264.000000
## sequence_PastB0map_v4                 -0.556613   0.339239 264.000000
## sequence_CurB0map_v4                   0.007294   0.071894 264.000000
## Brain_res:Elapsed                      0.027908   0.020667 264.000000
##                                      t value Pr(>|t|)  
## (Intercept)                           -0.289   0.7729  
## Brain_res                             -1.221   0.2232  
## Elapsed                                2.301   0.0221 *
## age_Past                              -0.246   0.8060  
## sexfemale                             -1.489   0.1377  
## sequence_PastB0map_onesizefitsall_v3  -0.138   0.8903  
## sequence_PastB0map_v4                 -1.641   0.1020  
## sequence_CurB0map_v4                   0.101   0.9193  
## Brain_res:Elapsed                      1.350   0.1781  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs Elapsd ag_Pst sexfml s_PB0__ s_PB0_4 s_CB0_
## Brain_res    0.154                                                   
## Elapsed     -0.418  0.142                                            
## age_Past    -0.631 -0.315  0.099                                     
## sexfemale   -0.037 -0.051  0.010 -0.062                              
## sqnc_PB0__3 -0.844 -0.022  0.220  0.207 -0.048                       
## sqnc_PsB0_4 -0.536 -0.106  0.257  0.093 -0.027  0.620                
## sqnc_CrB0_4  0.330  0.040 -0.578 -0.298 -0.043 -0.167  -0.237        
## Brn_rs:Elps -0.077 -0.916 -0.263  0.270  0.042 -0.014   0.042  -0.010
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: 
## Beh_res ~ Brain_res * age_Past + sex + sequence_Past + timepoint_Cur +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 366.9
## 
## Scaled residuals: 
##      Min       1Q   Median       3Q      Max 
## -3.15189 -0.63657  0.01253  0.60867  2.70879 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.000   
##  Residual             0.1998   0.447   
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                        Estimate Std. Error         df
## (Intercept)                            0.144657   0.291283 264.000000
## Brain_res                              0.035653   0.095180 264.000000
## age_Past                              -0.006938   0.009006 264.000000
## sexfemale                             -0.085140   0.054787 264.000000
## sequence_PastB0map_onesizefitsall_v3  -0.098063   0.209848 264.000000
## sequence_PastB0map_v4                 -0.740109   0.338955 264.000000
## timepoint_Cur.L                       -0.093261   0.075410 264.000000
## sequence_CurB0map_v4                   0.221184   0.097182 264.000000
## Brain_res:age_Past                    -0.001596   0.005808 264.000000
##                                      t value Pr(>|t|)  
## (Intercept)                            0.497   0.6199  
## Brain_res                              0.375   0.7083  
## age_Past                              -0.770   0.4417  
## sexfemale                             -1.554   0.1214  
## sequence_PastB0map_onesizefitsall_v3  -0.467   0.6407  
## sequence_PastB0map_v4                 -2.184   0.0299 *
## timepoint_Cur.L                       -1.237   0.2173  
## sequence_CurB0map_v4                   2.276   0.0236 *
## Brain_res:age_Past                    -0.275   0.7837  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs ag_Pst sexfml s_PB0__ s_PB0_4 tm_C.L s_CB0_
## Brain_res    0.046                                                   
## age_Past    -0.659  0.005                                            
## sexfemale   -0.038 -0.039 -0.073                                     
## sqnc_PB0__3 -0.843  0.009  0.228 -0.048                              
## sqnc_PsB0_4 -0.505  0.070  0.089 -0.033  0.613                       
## timpnt_Cr.L  0.443  0.152 -0.246 -0.034 -0.197  -0.187               
## sqnc_CrB0_4 -0.309 -0.190  0.047  0.007  0.130   0.090  -0.799       
## Brn_rs:g_Ps -0.002 -0.973 -0.049  0.033 -0.027  -0.106  -0.104  0.140
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + Elapsed + age_Past + sex + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 353
## 
## Scaled residuals: 
##      Min       1Q   Median       3Q      Max 
## -3.11499 -0.68413  0.03341  0.67558  2.63387 
## 
## Random effects:
##  Groups   Name        Variance  Std.Dev. 
##  bblid    (Intercept) 1.218e-16 1.104e-08
##  Residual             1.958e-01 4.424e-01
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##               Estimate Std. Error         df t value Pr(>|t|)    
## (Intercept)  -0.073641   0.143170 268.000000  -0.514  0.60742    
## Brain_res    -0.005700   0.021739 268.000000  -0.262  0.79338    
## Elapsed       0.101369   0.026585 268.000000   3.813  0.00017 ***
## age_Past     -0.007172   0.008144 268.000000  -0.881  0.37932    
## sexfemale    -0.084430   0.054055 268.000000  -1.562  0.11948    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##           (Intr) Brn_rs Elapsd ag_Pst
## Brain_res  0.260                     
## Elapsed   -0.409 -0.245              
## age_Past  -0.862 -0.169 -0.018       
## sexfemale -0.131 -0.033  0.005 -0.088
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 353.4
## 
## Scaled residuals: 
##      Min       1Q   Median       3Q      Max 
## -3.14831 -0.63255 -0.00518  0.58899  3.09684 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.0000  
##  Residual             0.2066   0.4545  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##               Estimate Std. Error         df t value Pr(>|t|)
## (Intercept) -9.969e-17  2.751e-02  2.710e+02   0.000    1.000
## Brain_res    9.890e-03  2.128e-02  2.710e+02   0.465    0.642
## 
## Correlation of Fixed Effects:
##           (Intr)
## Brain_res 0.000 
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_delta ~ Brain_delta + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 442.8
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -2.7632 -0.6713 -0.0176  0.5740  3.2832 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.0000  
##  Residual             0.2872   0.5359  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##              Estimate Std. Error        df t value Pr(>|t|)    
## (Intercept) 3.604e-01  3.373e-02 2.710e+02  10.684   <2e-16 ***
## Brain_delta 2.886e-03  2.423e-02 2.710e+02   0.119    0.905    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr)
## Brain_delta -0.275
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## NAR_Overall_Efficiency
## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`

## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## 
## 
##  Putamen NAR_Overall_Efficiency
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res * Elapsed + age_Past + sex + sequence_Past +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 130.7
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -4.2256 -0.5551 -0.0022  0.6720  4.1754 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.00000  0.0000  
##  Residual             0.08195  0.2863  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                        Estimate Std. Error         df
## (Intercept)                           -0.109241   0.188269 264.000000
## Brain_res                             -0.053917   0.035704 264.000000
## Elapsed                                0.009033   0.022730 264.000000
## age_Past                              -0.013966   0.005890 264.000000
## sexfemale                              0.067825   0.035093 264.000000
## sequence_PastB0map_onesizefitsall_v3   0.255555   0.135079 264.000000
## sequence_PastB0map_v4                  0.096375   0.220403 264.000000
## sequence_CurB0map_v4                   0.024585   0.046709 264.000000
## Brain_res:Elapsed                      0.031041   0.013427 264.000000
##                                      t value Pr(>|t|)  
## (Intercept)                           -0.580   0.5622  
## Brain_res                             -1.510   0.1322  
## Elapsed                                0.397   0.6914  
## age_Past                              -2.371   0.0184 *
## sexfemale                              1.933   0.0543 .
## sequence_PastB0map_onesizefitsall_v3   1.892   0.0596 .
## sequence_PastB0map_v4                  0.437   0.6623  
## sequence_CurB0map_v4                   0.526   0.5991  
## Brain_res:Elapsed                      2.312   0.0216 *
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs Elapsd ag_Pst sexfml s_PB0__ s_PB0_4 s_CB0_
## Brain_res    0.154                                                   
## Elapsed     -0.418  0.142                                            
## age_Past    -0.631 -0.315  0.099                                     
## sexfemale   -0.037 -0.051  0.010 -0.062                              
## sqnc_PB0__3 -0.844 -0.022  0.220  0.207 -0.048                       
## sqnc_PsB0_4 -0.536 -0.106  0.257  0.093 -0.027  0.620                
## sqnc_CrB0_4  0.330  0.040 -0.578 -0.298 -0.043 -0.167  -0.237        
## Brn_rs:Elps -0.077 -0.916 -0.263  0.270  0.042 -0.014   0.042  -0.010
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: 
## Beh_res ~ Brain_res * age_Past + sex + sequence_Past + timepoint_Cur +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 138
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -4.0721 -0.5606 -0.0358  0.6879  4.5344 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.00000  0.0000  
##  Residual             0.08395  0.2897  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                        Estimate Std. Error         df
## (Intercept)                           1.442e-02  1.888e-01  2.640e+02
## Brain_res                             2.832e-02  6.170e-02  2.640e+02
## age_Past                             -1.873e-02  5.838e-03  2.640e+02
## sexfemale                             6.354e-02  3.551e-02  2.640e+02
## sequence_PastB0map_onesizefitsall_v3  2.284e-01  1.360e-01  2.640e+02
## sequence_PastB0map_v4                 1.164e-02  2.197e-01  2.640e+02
## timepoint_Cur.L                       6.229e-04  4.888e-02  2.640e+02
## sequence_CurB0map_v4                  5.417e-02  6.300e-02  2.640e+02
## Brain_res:age_Past                   -1.723e-04  3.765e-03  2.640e+02
##                                      t value Pr(>|t|)   
## (Intercept)                            0.076   0.9392   
## Brain_res                              0.459   0.6466   
## age_Past                              -3.209   0.0015 **
## sexfemale                              1.789   0.0747 . 
## sequence_PastB0map_onesizefitsall_v3   1.679   0.0944 . 
## sequence_PastB0map_v4                  0.053   0.9578   
## timepoint_Cur.L                        0.013   0.9898   
## sequence_CurB0map_v4                   0.860   0.3907   
## Brain_res:age_Past                    -0.046   0.9635   
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs ag_Pst sexfml s_PB0__ s_PB0_4 tm_C.L s_CB0_
## Brain_res    0.046                                                   
## age_Past    -0.659  0.005                                            
## sexfemale   -0.038 -0.039 -0.073                                     
## sqnc_PB0__3 -0.843  0.009  0.228 -0.048                              
## sqnc_PsB0_4 -0.505  0.070  0.089 -0.033  0.613                       
## timpnt_Cr.L  0.443  0.152 -0.246 -0.034 -0.197  -0.187               
## sqnc_CrB0_4 -0.309 -0.190  0.047  0.007  0.130   0.090  -0.799       
## Brn_rs:g_Ps -0.002 -0.973 -0.049  0.033 -0.027  -0.106  -0.104  0.140
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + Elapsed + age_Past + sex + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 126.3
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -4.0488 -0.5047 -0.0140  0.6891  4.3636 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.00000  0.0000  
##  Residual             0.08402  0.2899  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##               Estimate Std. Error         df t value Pr(>|t|)    
## (Intercept)   0.203451   0.093794 268.000000   2.169 0.030952 *  
## Brain_res     0.021463   0.014242 268.000000   1.507 0.132967    
## Elapsed       0.026166   0.017417 268.000000   1.502 0.134186    
## age_Past     -0.019286   0.005335 268.000000  -3.615 0.000359 ***
## sexfemale     0.068954   0.035413 268.000000   1.947 0.052559 .  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##           (Intr) Brn_rs Elapsd ag_Pst
## Brain_res  0.260                     
## Elapsed   -0.409 -0.245              
## age_Past  -0.862 -0.169 -0.018       
## sexfemale -0.131 -0.033  0.005 -0.088
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 124
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -3.8459 -0.5897  0.0143  0.6706  5.0232 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.0000  
##  Residual             0.0886   0.2977  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##              Estimate Std. Error        df t value Pr(>|t|)
## (Intercept) 1.114e-16  1.802e-02 2.710e+02    0.00    1.000
## Brain_res   1.895e-02  1.393e-02 2.710e+02    1.36    0.175
## 
## Correlation of Fixed Effects:
##           (Intr)
## Brain_res 0.000 
## convergence code: 0
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_delta ~ Brain_delta + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 438.4
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -1.9770 -0.5854 -0.1403  0.5092  4.5626 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.07111  0.2667  
##  Residual             0.21371  0.4623  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##              Estimate Std. Error        df t value Pr(>|t|)    
## (Intercept)   0.39970    0.03435 181.13964  11.636   <2e-16 ***
## Brain_delta   0.02101    0.02353 157.41323   0.893    0.373    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr)
## Brain_delta -0.267
## NAR_F1_Social_Cognition_Efficiency
## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`

## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## 
## 
##  Putamen NAR_F1_Social_Cognition_Efficiency
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res * Elapsed + age_Past + sex + sequence_Past +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 420.6
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -4.4880 -0.5689  0.0324  0.6807  2.5472 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.0000  
##  Residual             0.2458   0.4958  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                        Estimate Std. Error         df
## (Intercept)                           -0.208341   0.326047 264.000000
## Brain_res                             -0.092019   0.061832 264.000000
## Elapsed                                0.037230   0.039364 264.000000
## age_Past                              -0.009751   0.010200 264.000000
## sexfemale                              0.139624   0.060775 264.000000
## sequence_PastB0map_onesizefitsall_v3   0.146153   0.233932 264.000000
## sequence_PastB0map_v4                  0.010598   0.381697 264.000000
## sequence_CurB0map_v4                   0.103982   0.080892 264.000000
## Brain_res:Elapsed                      0.046269   0.023254 264.000000
##                                      t value Pr(>|t|)  
## (Intercept)                           -0.639   0.5234  
## Brain_res                             -1.488   0.1379  
## Elapsed                                0.946   0.3451  
## age_Past                              -0.956   0.3399  
## sexfemale                              2.297   0.0224 *
## sequence_PastB0map_onesizefitsall_v3   0.625   0.5327  
## sequence_PastB0map_v4                  0.028   0.9779  
## sequence_CurB0map_v4                   1.285   0.1998  
## Brain_res:Elapsed                      1.990   0.0477 *
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs Elapsd ag_Pst sexfml s_PB0__ s_PB0_4 s_CB0_
## Brain_res    0.154                                                   
## Elapsed     -0.418  0.142                                            
## age_Past    -0.631 -0.315  0.099                                     
## sexfemale   -0.037 -0.051  0.010 -0.062                              
## sqnc_PB0__3 -0.844 -0.022  0.220  0.207 -0.048                       
## sqnc_PsB0_4 -0.536 -0.106  0.257  0.093 -0.027  0.620                
## sqnc_CrB0_4  0.330  0.040 -0.578 -0.298 -0.043 -0.167  -0.237        
## Brn_rs:Elps -0.077 -0.916 -0.263  0.270  0.042 -0.014   0.042  -0.010
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: 
## Beh_res ~ Brain_res * age_Past + sex + sequence_Past + timepoint_Cur +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 427.7
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -4.0459 -0.5829  0.0445  0.6751  2.7879 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.0000  
##  Residual             0.2516   0.5016  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                        Estimate Std. Error         df
## (Intercept)                            0.061055   0.326847 264.000000
## Brain_res                              0.060718   0.106801 264.000000
## age_Past                              -0.017718   0.010105 264.000000
## sexfemale                              0.131980   0.061476 264.000000
## sequence_PastB0map_onesizefitsall_v3   0.076956   0.235469 264.000000
## sequence_PastB0map_v4                 -0.167787   0.380339 264.000000
## timepoint_Cur.L                       -0.001386   0.084617 264.000000
## sequence_CurB0map_v4                   0.179323   0.109047 264.000000
## Brain_res:age_Past                    -0.001919   0.006517 264.000000
##                                      t value Pr(>|t|)  
## (Intercept)                            0.187   0.8520  
## Brain_res                              0.569   0.5702  
## age_Past                              -1.753   0.0807 .
## sexfemale                              2.147   0.0327 *
## sequence_PastB0map_onesizefitsall_v3   0.327   0.7441  
## sequence_PastB0map_v4                 -0.441   0.6595  
## timepoint_Cur.L                       -0.016   0.9869  
## sequence_CurB0map_v4                   1.644   0.1013  
## Brain_res:age_Past                    -0.294   0.7687  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs ag_Pst sexfml s_PB0__ s_PB0_4 tm_C.L s_CB0_
## Brain_res    0.046                                                   
## age_Past    -0.659  0.005                                            
## sexfemale   -0.038 -0.039 -0.073                                     
## sqnc_PB0__3 -0.843  0.009  0.228 -0.048                              
## sqnc_PsB0_4 -0.505  0.070  0.089 -0.033  0.613                       
## timpnt_Cr.L  0.443  0.152 -0.246 -0.034 -0.197  -0.187               
## sqnc_CrB0_4 -0.309 -0.190  0.047  0.007  0.130   0.090  -0.799       
## Brn_rs:g_Ps -0.002 -0.973 -0.049  0.033 -0.027  -0.106  -0.104  0.140
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + Elapsed + age_Past + sex + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 416.6
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -4.1381 -0.5493  0.0338  0.6143  2.6637 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.0000  
##  Residual             0.2481   0.4981  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##               Estimate Std. Error         df t value Pr(>|t|)   
## (Intercept)  -0.064483   0.161194 268.000000  -0.400  0.68945   
## Brain_res     0.018713   0.024476 268.000000   0.765  0.44520   
## Elapsed       0.084536   0.029932 268.000000   2.824  0.00509 **
## age_Past     -0.013171   0.009169 268.000000  -1.436  0.15205   
## sexfemale     0.140735   0.060860 268.000000   2.312  0.02151 * 
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##           (Intr) Brn_rs Elapsd ag_Pst
## Brain_res  0.260                     
## Elapsed   -0.409 -0.245              
## age_Past  -0.862 -0.169 -0.018       
## sexfemale -0.131 -0.033  0.005 -0.088
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 414.5
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -3.7969 -0.5429  0.0297  0.6042  3.3007 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.0000  
##  Residual             0.2588   0.5088  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##               Estimate Std. Error         df t value Pr(>|t|)
## (Intercept) -6.731e-16  3.079e-02  2.710e+02   0.000    1.000
## Brain_res    3.229e-02  2.382e-02  2.710e+02   1.356    0.176
## 
## Correlation of Fixed Effects:
##           (Intr)
## Brain_res 0.000 
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_delta ~ Brain_delta + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 520.4
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -3.0348 -0.5497 -0.0430  0.5415  3.9657 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.0000  
##  Residual             0.3824   0.6184  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##              Estimate Std. Error        df t value Pr(>|t|)    
## (Intercept)   0.47172    0.03892 271.00000  12.119   <2e-16 ***
## Brain_delta   0.01923    0.02796 271.00000   0.688    0.492    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr)
## Brain_delta -0.275
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## mpraxis_mp2rtcr
## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`

## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## 
## 
##  Putamen mpraxis_mp2rtcr
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res * Elapsed + age_Past + sex + sequence_Past +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 3267.5
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -2.5432 -0.6112 -0.1302  0.4451  4.6939 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept)     0      0.0   
##  Residual             11852    108.9   
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                      Estimate Std. Error       df t value
## (Intercept)                           47.0517    71.5948 264.0000   0.657
## Brain_res                             12.3657    13.5773 264.0000   0.911
## Elapsed                                8.8428     8.6437 264.0000   1.023
## age_Past                              -0.4994     2.2397 264.0000  -0.223
## sexfemale                             18.7699    13.3453 264.0000   1.406
## sequence_PastB0map_onesizefitsall_v3 -63.7924    51.3679 264.0000  -1.242
## sequence_PastB0map_v4                -39.1971    83.8147 264.0000  -0.468
## sequence_CurB0map_v4                 -11.7905    17.7626 264.0000  -0.664
## Brain_res:Elapsed                     -7.8032     5.1062 264.0000  -1.528
##                                      Pr(>|t|)
## (Intercept)                             0.512
## Brain_res                               0.363
## Elapsed                                 0.307
## age_Past                                0.824
## sexfemale                               0.161
## sequence_PastB0map_onesizefitsall_v3    0.215
## sequence_PastB0map_v4                   0.640
## sequence_CurB0map_v4                    0.507
## Brain_res:Elapsed                       0.128
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs Elapsd ag_Pst sexfml s_PB0__ s_PB0_4 s_CB0_
## Brain_res    0.154                                                   
## Elapsed     -0.418  0.142                                            
## age_Past    -0.631 -0.315  0.099                                     
## sexfemale   -0.037 -0.051  0.010 -0.062                              
## sqnc_PB0__3 -0.844 -0.022  0.220  0.207 -0.048                       
## sqnc_PsB0_4 -0.536 -0.106  0.257  0.093 -0.027  0.620                
## sqnc_CrB0_4  0.330  0.040 -0.578 -0.298 -0.043 -0.167  -0.237        
## Brn_rs:Elps -0.077 -0.916 -0.263  0.270  0.042 -0.014   0.042  -0.010
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: 
## Beh_res ~ Brain_res * age_Past + sex + sequence_Past + timepoint_Cur +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 3263
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -2.4155 -0.5885 -0.1409  0.4172  4.6766 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept)     0      0.0   
##  Residual             11609    107.7   
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                      Estimate Std. Error       df t value
## (Intercept)                            0.5371    70.2142 264.0000   0.008
## Brain_res                            -56.8384    22.9433 264.0000  -2.477
## age_Past                               0.9687     2.1708 264.0000   0.446
## sexfemale                             21.1495    13.2065 264.0000   1.601
## sequence_PastB0map_onesizefitsall_v3 -56.2528    50.5842 264.0000  -1.112
## sequence_PastB0map_v4                -37.1519    81.7056 264.0000  -0.455
## timepoint_Cur.L                      -38.0897    18.1776 264.0000  -2.095
## sequence_CurB0map_v4                  36.6703    23.4259 264.0000   1.565
## Brain_res:age_Past                     3.0662     1.4001 264.0000   2.190
##                                      Pr(>|t|)  
## (Intercept)                            0.9939  
## Brain_res                              0.0139 *
## age_Past                               0.6558  
## sexfemale                              0.1105  
## sequence_PastB0map_onesizefitsall_v3   0.2671  
## sequence_PastB0map_v4                  0.6497  
## timepoint_Cur.L                        0.0371 *
## sequence_CurB0map_v4                   0.1187  
## Brain_res:age_Past                     0.0294 *
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs ag_Pst sexfml s_PB0__ s_PB0_4 tm_C.L s_CB0_
## Brain_res    0.046                                                   
## age_Past    -0.659  0.005                                            
## sexfemale   -0.038 -0.039 -0.073                                     
## sqnc_PB0__3 -0.843  0.009  0.228 -0.048                              
## sqnc_PsB0_4 -0.505  0.070  0.089 -0.033  0.613                       
## timpnt_Cr.L  0.443  0.152 -0.246 -0.034 -0.197  -0.187               
## sqnc_CrB0_4 -0.309 -0.190  0.047  0.007  0.130   0.090  -0.799       
## Brn_rs:g_Ps -0.002 -0.973 -0.049  0.033 -0.027  -0.106  -0.104  0.140
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + Elapsed + age_Past + sex + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 3304.9
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -2.6739 -0.6183 -0.1324  0.4435  4.7694 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept)     0      0     
##  Residual             11890    109     
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##             Estimate Std. Error       df t value Pr(>|t|)
## (Intercept) -26.1788    35.2840 268.0000  -0.742    0.459
## Brain_res    -6.6870     5.3575 268.0000  -1.248    0.213
## Elapsed       3.1937     6.5519 268.0000   0.487    0.626
## age_Past      0.5721     2.0071 268.0000   0.285    0.776
## sexfemale    18.2420    13.3217 268.0000   1.369    0.172
## 
## Correlation of Fixed Effects:
##           (Intr) Brn_rs Elapsd ag_Pst
## Brain_res  0.260                     
## Elapsed   -0.409 -0.245              
## age_Past  -0.862 -0.169 -0.018       
## sexfemale -0.131 -0.033  0.005 -0.088
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 3323
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -2.7904 -0.6424 -0.1118  0.4593  4.8758 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept)     0      0.0   
##  Residual             11858    108.9   
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##               Estimate Std. Error         df t value Pr(>|t|)
## (Intercept)  4.278e-14  6.591e+00  2.710e+02   0.000    1.000
## Brain_res   -5.425e+00  5.098e+00  2.710e+02  -1.064    0.288
## 
## Correlation of Fixed Effects:
##           (Intr)
## Brain_res 0.000 
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_delta ~ Brain_delta + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 3399.9
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -3.9307 -0.4816  0.0027  0.5331  3.4574 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept)     0      0.0   
##  Residual             15744    125.5   
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##             Estimate Std. Error      df t value Pr(>|t|)  
## (Intercept)   -5.507      7.898 271.000  -0.697   0.4863  
## Brain_delta  -10.151      5.674 271.000  -1.789   0.0747 .
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr)
## Brain_delta -0.275
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## CaudateNAR_Overall_Accuracy
## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`

## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## 
## 
##  Caudate NAR_Overall_Accuracy
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res * Elapsed + age_Past + sex + sequence_Past +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 355.5
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -3.2768 -0.6759  0.0324  0.6709  2.7072 
## 
## Random effects:
##  Groups   Name        Variance  Std.Dev. 
##  bblid    (Intercept) 5.059e-17 7.113e-09
##  Residual             1.921e-01 4.383e-01
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                        Estimate Std. Error         df
## (Intercept)                           -0.055047   0.282056 264.000000
## Brain_res                             -0.112007   0.056171 264.000000
## Elapsed                                0.079832   0.033279 264.000000
## age_Past                              -0.001955   0.008743 264.000000
## sexfemale                             -0.082037   0.053706 264.000000
## sequence_PastB0map_onesizefitsall_v3  -0.058951   0.208354 264.000000
## sequence_PastB0map_v4                 -0.588067   0.336542 264.000000
## sequence_CurB0map_v4                   0.011160   0.071358 264.000000
## Brain_res:Elapsed                      0.042458   0.019640 264.000000
##                                      t value Pr(>|t|)  
## (Intercept)                           -0.195   0.8454  
## Brain_res                             -1.994   0.0472 *
## Elapsed                                2.399   0.0171 *
## age_Past                              -0.224   0.8232  
## sexfemale                             -1.528   0.1278  
## sequence_PastB0map_onesizefitsall_v3  -0.283   0.7774  
## sequence_PastB0map_v4                 -1.747   0.0817 .
## sequence_CurB0map_v4                   0.156   0.8758  
## Brain_res:Elapsed                      2.162   0.0315 *
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs Elapsd ag_Pst sexfml s_PB0__ s_PB0_4 s_CB0_
## Brain_res    0.032                                                   
## Elapsed     -0.424  0.127                                            
## age_Past    -0.598 -0.134  0.093                                     
## sexfemale   -0.032 -0.027  0.017 -0.083                              
## sqnc_PB0__3 -0.850  0.022  0.232  0.174 -0.045                       
## sqnc_PsB0_4 -0.523 -0.042  0.260  0.036 -0.028  0.625                
## sqnc_CrB0_4  0.317 -0.033 -0.588 -0.292 -0.039 -0.156  -0.219        
## Brn_rs:Elps  0.004 -0.909 -0.191  0.189  0.011 -0.082  -0.025   0.019
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: 
## Beh_res ~ Brain_res * age_Past + sex + sequence_Past + timepoint_Cur +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 366.8
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -3.1506 -0.6553  0.0169  0.6039  2.7081 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0      0.0000  
##  Residual             0.2      0.4472  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                        Estimate Std. Error         df
## (Intercept)                           1.154e-01  2.907e-01  2.640e+02
## Brain_res                             9.133e-03  1.057e-01  2.640e+02
## age_Past                             -6.169e-03  8.982e-03  2.640e+02
## sexfemale                            -8.397e-02  5.483e-02  2.640e+02
## sequence_PastB0map_onesizefitsall_v3 -9.038e-02  2.130e-01  2.640e+02
## sequence_PastB0map_v4                -7.245e-01  3.407e-01  2.640e+02
## timepoint_Cur.L                      -1.023e-01  7.467e-02  2.640e+02
## sequence_CurB0map_v4                  2.337e-01  9.730e-02  2.640e+02
## Brain_res:age_Past                   -5.509e-04  6.376e-03  2.640e+02
##                                      t value Pr(>|t|)  
## (Intercept)                            0.397   0.6918  
## Brain_res                              0.086   0.9312  
## age_Past                              -0.687   0.4928  
## sexfemale                             -1.532   0.1268  
## sequence_PastB0map_onesizefitsall_v3  -0.424   0.6716  
## sequence_PastB0map_v4                 -2.126   0.0344 *
## timepoint_Cur.L                       -1.370   0.1717  
## sequence_CurB0map_v4                   2.402   0.0170 *
## Brain_res:age_Past                    -0.086   0.9312  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs ag_Pst sexfml s_PB0__ s_PB0_4 tm_C.L s_CB0_
## Brain_res   -0.113                                                   
## age_Past    -0.642  0.170                                            
## sexfemale   -0.034 -0.030 -0.084                                     
## sqnc_PB0__3 -0.852  0.091  0.221 -0.045                              
## sqnc_PsB0_4 -0.511  0.084  0.066 -0.029  0.625                       
## timpnt_Cr.L  0.411  0.134 -0.186 -0.034 -0.194  -0.183               
## sqnc_CrB0_4 -0.264 -0.215 -0.030  0.008  0.123   0.084  -0.794       
## Brn_rs:g_Ps  0.142 -0.974 -0.158  0.021 -0.125  -0.124  -0.097  0.170
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + Elapsed + age_Past + sex + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 352.9
## 
## Scaled residuals: 
##      Min       1Q   Median       3Q      Max 
## -3.12349 -0.68778  0.04352  0.67617  2.63334 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.0000  
##  Residual             0.1957   0.4424  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##               Estimate Std. Error         df t value Pr(>|t|)    
## (Intercept)  -0.063349   0.138237 268.000000  -0.458 0.647133    
## Brain_res    -0.007149   0.023281 268.000000  -0.307 0.759019    
## Elapsed       0.100815   0.026046 268.000000   3.871 0.000136 ***
## age_Past     -0.007764   0.008063 268.000000  -0.963 0.336426    
## sexfemale    -0.084031   0.054096 268.000000  -1.553 0.121518    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##           (Intr) Brn_rs Elapsd ag_Pst
## Brain_res -0.012                     
## Elapsed   -0.363 -0.144              
## age_Past  -0.856  0.094 -0.075       
## sexfemale -0.126 -0.052  0.005 -0.099
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 353.3
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -3.1633 -0.6519 -0.0036  0.5982  3.0953 
## 
## Random effects:
##  Groups   Name        Variance  Std.Dev. 
##  bblid    (Intercept) 8.046e-17 8.970e-09
##  Residual             2.067e-01 4.546e-01
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##              Estimate Std. Error        df t value Pr(>|t|)
## (Intercept) 1.776e-17  2.751e-02 2.710e+02   0.000    1.000
## Brain_res   5.525e-03  2.356e-02 2.710e+02   0.234    0.815
## 
## Correlation of Fixed Effects:
##           (Intr)
## Brain_res 0.000 
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_delta ~ Brain_delta + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 442.3
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -2.7735 -0.6636 -0.0175  0.5712  3.2631 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.0000  
##  Residual             0.2869   0.5357  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##              Estimate Std. Error        df t value Pr(>|t|)    
## (Intercept)   0.35763    0.03331 271.00000  10.736   <2e-16 ***
## Brain_delta   0.01370    0.02724 271.00000   0.503    0.615    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr)
## Brain_delta -0.230
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## NAR_Overall_Efficiency
## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`

## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## 
## 
##  Caudate NAR_Overall_Efficiency
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res * Elapsed + age_Past + sex + sequence_Past +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 127.6
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -4.2172 -0.5636  0.0184  0.6758  3.8141 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.00000  0.0000  
##  Residual             0.08102  0.2846  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                        Estimate Std. Error         df
## (Intercept)                           -0.108605   0.183181 264.000000
## Brain_res                             -0.072434   0.036480 264.000000
## Elapsed                                0.015694   0.021613 264.000000
## age_Past                              -0.012218   0.005678 264.000000
## sexfemale                              0.064827   0.034879 264.000000
## sequence_PastB0map_onesizefitsall_v3   0.219500   0.135316 264.000000
## sequence_PastB0map_v4                  0.062694   0.218567 264.000000
## sequence_CurB0map_v4                   0.020010   0.046344 264.000000
## Brain_res:Elapsed                      0.036935   0.012755 264.000000
##                                      t value Pr(>|t|)   
## (Intercept)                           -0.593   0.5538   
## Brain_res                             -1.986   0.0481 * 
## Elapsed                                0.726   0.4684   
## age_Past                              -2.152   0.0323 * 
## sexfemale                              1.859   0.0642 . 
## sequence_PastB0map_onesizefitsall_v3   1.622   0.1060   
## sequence_PastB0map_v4                  0.287   0.7745   
## sequence_CurB0map_v4                   0.432   0.6663   
## Brain_res:Elapsed                      2.896   0.0041 **
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs Elapsd ag_Pst sexfml s_PB0__ s_PB0_4 s_CB0_
## Brain_res    0.032                                                   
## Elapsed     -0.424  0.127                                            
## age_Past    -0.598 -0.134  0.093                                     
## sexfemale   -0.032 -0.027  0.017 -0.083                              
## sqnc_PB0__3 -0.850  0.022  0.232  0.174 -0.045                       
## sqnc_PsB0_4 -0.523 -0.042  0.260  0.036 -0.028  0.625                
## sqnc_CrB0_4  0.317 -0.033 -0.588 -0.292 -0.039 -0.156  -0.219        
## Brn_rs:Elps  0.004 -0.909 -0.191  0.189  0.011 -0.082  -0.025   0.019
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: 
## Beh_res ~ Brain_res * age_Past + sex + sequence_Past + timepoint_Cur +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 138.1
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -4.0976 -0.5475 -0.0506  0.6696  4.5191 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.00    
##  Residual             0.0841   0.29    
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                        Estimate Std. Error         df
## (Intercept)                          -2.221e-02  1.885e-01  2.640e+02
## Brain_res                             4.003e-02  6.853e-02  2.640e+02
## age_Past                             -1.597e-02  5.825e-03  2.640e+02
## sexfemale                             6.282e-02  3.555e-02  2.640e+02
## sequence_PastB0map_onesizefitsall_v3  2.195e-01  1.381e-01  2.640e+02
## sequence_PastB0map_v4                 1.488e-02  2.210e-01  2.640e+02
## timepoint_Cur.L                      -4.093e-03  4.842e-02  2.640e+02
## sequence_CurB0map_v4                  5.630e-02  6.309e-02  2.640e+02
## Brain_res:age_Past                   -8.967e-04  4.135e-03  2.640e+02
##                                      t value Pr(>|t|)   
## (Intercept)                           -0.118  0.90632   
## Brain_res                              0.584  0.55968   
## age_Past                              -2.742  0.00652 **
## sexfemale                              1.767  0.07838 . 
## sequence_PastB0map_onesizefitsall_v3   1.589  0.11320   
## sequence_PastB0map_v4                  0.067  0.94635   
## timepoint_Cur.L                       -0.085  0.93269   
## sequence_CurB0map_v4                   0.892  0.37306   
## Brain_res:age_Past                    -0.217  0.82848   
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs ag_Pst sexfml s_PB0__ s_PB0_4 tm_C.L s_CB0_
## Brain_res   -0.113                                                   
## age_Past    -0.642  0.170                                            
## sexfemale   -0.034 -0.030 -0.084                                     
## sqnc_PB0__3 -0.852  0.091  0.221 -0.045                              
## sqnc_PsB0_4 -0.511  0.084  0.066 -0.029  0.625                       
## timpnt_Cr.L  0.411  0.134 -0.186 -0.034 -0.194  -0.183               
## sqnc_CrB0_4 -0.264 -0.215 -0.030  0.008  0.123   0.084  -0.794       
## Brn_rs:g_Ps  0.142 -0.974 -0.158  0.021 -0.125  -0.124  -0.097  0.170
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + Elapsed + age_Past + sex + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 125.5
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -4.0614 -0.5334 -0.0187  0.6931  4.3149 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.0000  
##  Residual             0.0838   0.2895  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##               Estimate Std. Error         df t value Pr(>|t|)   
## (Intercept)   0.164749   0.090452 268.000000   1.821  0.06966 . 
## Brain_res     0.026199   0.015233 268.000000   1.720  0.08661 . 
## Elapsed       0.028366   0.017042 268.000000   1.664  0.09719 . 
## age_Past     -0.017078   0.005276 268.000000  -3.237  0.00136 **
## sexfemale     0.067538   0.035396 268.000000   1.908  0.05745 . 
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##           (Intr) Brn_rs Elapsd ag_Pst
## Brain_res -0.012                     
## Elapsed   -0.363 -0.144              
## age_Past  -0.856  0.094 -0.075       
## sexfemale -0.126 -0.052  0.005 -0.099
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 120.5
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -3.8753 -0.5772 -0.0229  0.6851  4.9138 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.00000  0.0000  
##  Residual             0.08753  0.2959  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##              Estimate Std. Error        df t value Pr(>|t|)  
## (Intercept) 4.100e-16  1.791e-02 2.710e+02   0.000   1.0000  
## Brain_res   3.487e-02  1.534e-02 2.710e+02   2.274   0.0237 *
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##           (Intr)
## Brain_res 0.000 
## convergence code: 0
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_delta ~ Brain_delta + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 433.9
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -1.9309 -0.5979 -0.1222  0.5113  4.5996 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.05586  0.2363  
##  Residual             0.22369  0.4730  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##              Estimate Std. Error        df t value Pr(>|t|)    
## (Intercept)   0.38928    0.03355 161.43187  11.604   <2e-16 ***
## Brain_delta   0.06012    0.02663 235.94019   2.258   0.0249 *  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr)
## Brain_delta -0.228
## NAR_F1_Social_Cognition_Efficiency
## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`

## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## 
## 
##  Caudate NAR_F1_Social_Cognition_Efficiency
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res * Elapsed + age_Past + sex + sequence_Past +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 419.8
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -4.4563 -0.5877  0.0409  0.6886  2.5946 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.000    0.000   
##  Residual             0.245    0.495   
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                        Estimate Std. Error         df
## (Intercept)                           -0.173927   0.318562 264.000000
## Brain_res                             -0.070722   0.063441 264.000000
## Elapsed                                0.046601   0.037586 264.000000
## age_Past                              -0.009018   0.009874 264.000000
## sexfemale                              0.133699   0.060657 264.000000
## sequence_PastB0map_onesizefitsall_v3   0.092128   0.235321 264.000000
## sequence_PastB0map_v4                 -0.068771   0.380101 264.000000
## sequence_CurB0map_v4                   0.098921   0.080594 264.000000
## Brain_res:Elapsed                      0.041552   0.022182 264.000000
##                                      t value Pr(>|t|)  
## (Intercept)                           -0.546   0.5855  
## Brain_res                             -1.115   0.2660  
## Elapsed                                1.240   0.2161  
## age_Past                              -0.913   0.3619  
## sexfemale                              2.204   0.0284 *
## sequence_PastB0map_onesizefitsall_v3   0.391   0.6957  
## sequence_PastB0map_v4                 -0.181   0.8566  
## sequence_CurB0map_v4                   1.227   0.2208  
## Brain_res:Elapsed                      1.873   0.0621 .
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs Elapsd ag_Pst sexfml s_PB0__ s_PB0_4 s_CB0_
## Brain_res    0.032                                                   
## Elapsed     -0.424  0.127                                            
## age_Past    -0.598 -0.134  0.093                                     
## sexfemale   -0.032 -0.027  0.017 -0.083                              
## sqnc_PB0__3 -0.850  0.022  0.232  0.174 -0.045                       
## sqnc_PsB0_4 -0.523 -0.042  0.260  0.036 -0.028  0.625                
## sqnc_CrB0_4  0.317 -0.033 -0.588 -0.292 -0.039 -0.156  -0.219        
## Brn_rs:Elps  0.004 -0.909 -0.191  0.189  0.011 -0.082  -0.025   0.019
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: 
## Beh_res ~ Brain_res * age_Past + sex + sequence_Past + timepoint_Cur +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 426.4
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -4.0462 -0.5875  0.0445  0.6338  2.7437 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.0000  
##  Residual             0.2506   0.5006  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                        Estimate Std. Error         df
## (Intercept)                            0.024131   0.325441 264.000000
## Brain_res                              0.082500   0.118308 264.000000
## age_Past                              -0.013964   0.010055 264.000000
## sexfemale                              0.130199   0.061375 264.000000
## sequence_PastB0map_onesizefitsall_v3   0.056689   0.238389 264.000000
## sequence_PastB0map_v4                 -0.191697   0.381444 264.000000
## timepoint_Cur.L                       -0.001254   0.083584 264.000000
## sequence_CurB0map_v4                   0.171805   0.108922 264.000000
## Brain_res:age_Past                    -0.002510   0.007138 264.000000
##                                      t value Pr(>|t|)  
## (Intercept)                            0.074   0.9409  
## Brain_res                              0.697   0.4862  
## age_Past                              -1.389   0.1661  
## sexfemale                              2.121   0.0348 *
## sequence_PastB0map_onesizefitsall_v3   0.238   0.8122  
## sequence_PastB0map_v4                 -0.503   0.6157  
## timepoint_Cur.L                       -0.015   0.9880  
## sequence_CurB0map_v4                   1.577   0.1159  
## Brain_res:age_Past                    -0.352   0.7253  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs ag_Pst sexfml s_PB0__ s_PB0_4 tm_C.L s_CB0_
## Brain_res   -0.113                                                   
## age_Past    -0.642  0.170                                            
## sexfemale   -0.034 -0.030 -0.084                                     
## sqnc_PB0__3 -0.852  0.091  0.221 -0.045                              
## sqnc_PsB0_4 -0.511  0.084  0.066 -0.029  0.625                       
## timpnt_Cr.L  0.411  0.134 -0.186 -0.034 -0.194  -0.183               
## sqnc_CrB0_4 -0.264 -0.215 -0.030  0.008  0.123   0.084  -0.794       
## Brn_rs:g_Ps  0.142 -0.974 -0.158  0.021 -0.125  -0.124  -0.097  0.170
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + Elapsed + age_Past + sex + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 414.7
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -4.2027 -0.5939  0.0345  0.6219  2.7398 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.0000  
##  Residual             0.2465   0.4965  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##               Estimate Std. Error         df t value Pr(>|t|)   
## (Intercept)  -0.099466   0.155143 268.000000  -0.641  0.52199   
## Brain_res     0.039918   0.026128 268.000000   1.528  0.12774   
## Elapsed       0.083695   0.029231 268.000000   2.863  0.00453 **
## age_Past     -0.010690   0.009049 268.000000  -1.181  0.23850   
## sexfemale     0.137444   0.060712 268.000000   2.264  0.02438 * 
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##           (Intr) Brn_rs Elapsd ag_Pst
## Brain_res -0.012                     
## Elapsed   -0.363 -0.144              
## age_Past  -0.856  0.094 -0.075       
## sexfemale -0.126 -0.052  0.005 -0.099
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 411.7
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -3.8751 -0.5594  0.0364  0.5966  3.1932 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.0000  
##  Residual             0.2564   0.5063  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##               Estimate Std. Error         df t value Pr(>|t|)  
## (Intercept) -1.786e-16  3.065e-02  2.710e+02   0.000   1.0000  
## Brain_res    5.528e-02  2.625e-02  2.710e+02   2.106   0.0361 *
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##           (Intr)
## Brain_res 0.000 
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_delta ~ Brain_delta + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 516.6
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -3.0789 -0.5589 -0.0256  0.5505  3.8245 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept) 0.0000   0.0000  
##  Residual             0.3774   0.6144  
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##              Estimate Std. Error        df t value Pr(>|t|)    
## (Intercept)   0.46138    0.03821 271.00000  12.076   <2e-16 ***
## Brain_delta   0.06291    0.03125 271.00000   2.013   0.0451 *  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr)
## Brain_delta -0.230
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## mpraxis_mp2rtcr
## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`

## Warning: Factor `bblid` contains implicit NA, consider using
## `forcats::fct_explicit_na`
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## 
## 
##  Caudate mpraxis_mp2rtcr
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res * Elapsed + age_Past + sex + sequence_Past +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 3263.8
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -2.7292 -0.6245 -0.1284  0.4533  4.8129 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept)     0      0.0   
##  Residual             11689    108.1   
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                      Estimate Std. Error      df t value
## (Intercept)                            49.505     69.577 264.000   0.712
## Brain_res                              25.332     13.856 264.000   1.828
## Elapsed                                 7.718      8.209 264.000   0.940
## age_Past                               -1.283      2.157 264.000  -0.595
## sexfemale                              19.395     13.248 264.000   1.464
## sequence_PastB0map_onesizefitsall_v3  -52.661     51.396 264.000  -1.025
## sequence_PastB0map_v4                 -31.531     83.017 264.000  -0.380
## sequence_CurB0map_v4                  -10.490     17.602 264.000  -0.596
## Brain_res:Elapsed                     -12.202      4.845 264.000  -2.519
##                                      Pr(>|t|)  
## (Intercept)                            0.4774  
## Brain_res                              0.0686 .
## Elapsed                                0.3480  
## age_Past                               0.5524  
## sexfemale                              0.1444  
## sequence_PastB0map_onesizefitsall_v3   0.3065  
## sequence_PastB0map_v4                  0.7044  
## sequence_CurB0map_v4                   0.5517  
## Brain_res:Elapsed                      0.0124 *
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs Elapsd ag_Pst sexfml s_PB0__ s_PB0_4 s_CB0_
## Brain_res    0.032                                                   
## Elapsed     -0.424  0.127                                            
## age_Past    -0.598 -0.134  0.093                                     
## sexfemale   -0.032 -0.027  0.017 -0.083                              
## sqnc_PB0__3 -0.850  0.022  0.232  0.174 -0.045                       
## sqnc_PsB0_4 -0.523 -0.042  0.260  0.036 -0.028  0.625                
## sqnc_CrB0_4  0.317 -0.033 -0.588 -0.292 -0.039 -0.156  -0.219        
## Brn_rs:Elps  0.004 -0.909 -0.191  0.189  0.011 -0.082  -0.025   0.019
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular
## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: 
## Beh_res ~ Brain_res * age_Past + sex + sequence_Past + timepoint_Cur +  
##     sequence_Cur + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 3264.5
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -2.4715 -0.6247 -0.1406  0.4488  4.6594 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept)     0      0.0   
##  Residual             11690    108.1   
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##                                      Estimate Std. Error       df t value
## (Intercept)                           28.6272    70.2865 264.0000   0.407
## Brain_res                            -53.1598    25.5514 264.0000  -2.081
## age_Past                              -0.2232     2.1717 264.0000  -0.103
## sexfemale                             20.8818    13.2552 264.0000   1.575
## sequence_PastB0map_onesizefitsall_v3 -61.2117    51.4856 264.0000  -1.189
## sequence_PastB0map_v4                -36.4101    82.3814 264.0000  -0.442
## timepoint_Cur.L                      -35.3871    18.0519 264.0000  -1.960
## sequence_CurB0map_v4                  35.4656    23.5242 264.0000   1.508
## Brain_res:age_Past                     2.8052     1.5416 264.0000   1.820
##                                      Pr(>|t|)  
## (Intercept)                            0.6841  
## Brain_res                              0.0384 *
## age_Past                               0.9182  
## sexfemale                              0.1164  
## sequence_PastB0map_onesizefitsall_v3   0.2355  
## sequence_PastB0map_v4                  0.6589  
## timepoint_Cur.L                        0.0510 .
## sequence_CurB0map_v4                   0.1328  
## Brain_res:age_Past                     0.0699 .
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Brn_rs ag_Pst sexfml s_PB0__ s_PB0_4 tm_C.L s_CB0_
## Brain_res   -0.113                                                   
## age_Past    -0.642  0.170                                            
## sexfemale   -0.034 -0.030 -0.084                                     
## sqnc_PB0__3 -0.852  0.091  0.221 -0.045                              
## sqnc_PsB0_4 -0.511  0.084  0.066 -0.029  0.625                       
## timpnt_Cr.L  0.411  0.134 -0.186 -0.034 -0.194  -0.183               
## sqnc_CrB0_4 -0.264 -0.215 -0.030  0.008  0.123   0.084  -0.794       
## Brn_rs:g_Ps  0.142 -0.974 -0.158  0.021 -0.125  -0.124  -0.097  0.170
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + Elapsed + age_Past + sex + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 3304.6
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -2.7414 -0.6365 -0.1167  0.4252  4.7664 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept)     0      0     
##  Residual             11886    109     
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##              Estimate Std. Error        df t value Pr(>|t|)
## (Intercept) -14.18052   34.06481 268.00000  -0.416    0.678
## Brain_res    -7.34496    5.73688 268.00000  -1.280    0.202
## Elapsed       2.37602    6.41830 268.00000   0.370    0.712
## age_Past     -0.08919    1.98688 268.00000  -0.045    0.964
## sexfemale    18.58458   13.33054 268.00000   1.394    0.164
## 
## Correlation of Fixed Effects:
##           (Intr) Brn_rs Elapsd ag_Pst
## Brain_res -0.012                     
## Elapsed   -0.363 -0.144              
## age_Past  -0.856  0.094 -0.075       
## sexfemale -0.126 -0.052  0.005 -0.099
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_res ~ Brain_res + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 3322.5
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -2.8269 -0.6540 -0.1238  0.4329  4.9039 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept)     0      0.0   
##  Residual             11846    108.8   
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##               Estimate Std. Error         df t value Pr(>|t|)
## (Intercept) -3.134e-14  6.587e+00  2.710e+02   0.000    1.000
## Brain_res   -6.684e+00  5.642e+00  2.710e+02  -1.185    0.237
## 
## Correlation of Fixed Effects:
##           (Intr)
## Brain_res 0.000 
## convergence code: 0
## boundary (singular) fit: see ?isSingular
## boundary (singular) fit: see ?isSingular

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: Beh_delta ~ Brain_delta + (1 | bblid)
##    Data: deltaTable
## 
## REML criterion at convergence: 3400.3
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -3.9445 -0.4725  0.0119  0.5381  3.4950 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  bblid    (Intercept)     0      0.0   
##  Residual             15785    125.6   
## Number of obs: 273, groups:  bblid, 240
## 
## Fixed effects:
##             Estimate Std. Error      df t value Pr(>|t|)
## (Intercept)   -6.551      7.813 271.000  -0.838    0.403
## Brain_delta  -10.088      6.390 271.000  -1.579    0.116
## 
## Correlation of Fixed Effects:
##             (Intr)
## Brain_delta -0.230
## convergence code: 0
## boundary (singular) fit: see ?isSingular

# #compare to cog only
# rmBBLIDs <- tytables %>% 
#   group_by(bblid) %>% 
#   summarize(n=n()) %>%
#   filter(n>1) %>%
#   select(bblid)
# 
# rmTable <- tytables %>% 
#   filter(bblid %in% rmBBLIDs$bblid) %>%
#   select(bblid,timepoint,cnbAgeMonths)%>%
#   arrange(bblid)
# 
# deltaTable <- rmTable %>%
#   group_by(bblid) %>% 
#   summarize(vdiff2 = cnbAgeMonths[which(timepoint==2)]-cnbAgeMonths[which(timepoint==1)],
#             vdiff3 = ifelse(max(timepoint)==3,cnbAgeMonths[which(timepoint==3)]-cnbAgeMonths[which(timepoint==2)],NA))